home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr28 / par300.zip / EXAMPL06.STX < prev    next >
Text File  |  1995-04-05  |  2KB  |  25 lines

  1. ;C
  2. ┌─────────────────────────────────────────────────────────────────────────────┐
  3. │ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░    EXAMPLE # 6    ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ │
  4. └─────────────────────────────────────────────────────────────────────────────┘
  5. ┌─────────────────────────────────────────────────────────────────────────────┐
  6. │                                                                             │
  7. │                                                                             │
  8. │  THE INPUT FILE:   List of applicants at a hiring agency.  This file is a   │
  9. │                    fixed-length (non-text) file, so there are no carriage   │
  10. │                    returns or line feeds.  Each record is 123 characters    │
  11. │                    wide.                                                    │
  12. │                                                                             │
  13. │                                                                             │
  14. │  WHAT WE WANT:     Convert the file to comma-delimited format.              │
  15. │                                                                             │
  16. │                                                                             │
  17. │  HOW WE DO IT:     (1) We use the CHOP command to break up fixed-length     │
  18. │                        data into individual 123-character lines.            │
  19. │                    (2) We use TRIM to remove spaces.                        │
  20. │                                                                             │
  21. │                                                                             │
  22. └─────────────────────────────────────────────────────────────────────────────┘
  23.  
  24. ;P
  25.